package com.dc.designPattern._999_multi_pattern.demo_1.price;

import com.dc.designPattern._999_multi_pattern.demo_1.price.anno.PriceRegion;

/**
 * Description: VIP价格类型（10000<=消费<20000）
 * @author: gdc
 * @date: 2021/6/10
 * @version 1.0
 */
@PriceRegion(min = 10000, max = 20000)
public class Vip implements CalPrice {

    @Override
    public Double calPrice(Double originalPrice) {
        return originalPrice * 0.9;
    }

}
